﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace ArgusLight.Fractals2D.ComplexFractalColoring.IterationBased
{
	public abstract class SmoothColoring : Coloring
	{
		protected double GetSmootheningFactor(int x, int y)
		{
			return this.data.iterations[x, y] - Math.Log(Math.Log(this.data.z[x, y].Magnitude) / Math.Log(2), 2);
		}
	}
}
